Command Only
:DISPlay:TRACe{Tr}:X:SCALe:AUTO
This command executes x-axis auto scaling.
10 OUTPUT 717;":DISP:TRAC1:X:SCAL:AUTO"
:DISPlay:ATRaces:SCALe:AUTO
:DISPlay:TRACe{Tr}:Y:SCALe:AUTO
Auto Scale > X OR
Right-click on the graph plot > Auto Scale X